package com.qf.day09.teampk;

public class Demo {

    public static void main(String[] args) {
        //创建对象
        Hero hero1 = new Hero("亚索",500,72);
        Hero hero2 = new Hero("瑞雯",550,80);
        Hero hero3 = new Hero("易大师",600,69);
        Hero hero4 = new Hero("亚菲利欧",450,82);
        Hero hero5 = new Hero("滑板鞋",500,78);
        Hero hero6 = new Hero("盖伦",800,62);
        //创建team数组
        Hero []team1=new Hero[3];
        Hero []team2=new Hero[3];
        //加入
        team1[0]=hero1;
        team1[1]=hero2;
        team1[2]=hero3;
        team2[0]=hero4;
        team2[1]=hero5;
        team2[2]=hero6;


    }
}
